package org.dtp.enums;

/**
 * @ClassName AlarmEnum
 * @Description 告警枚举
 * @Author wangyiqi
 * @Date 2021-09-07-20:38
 **/
public enum AlarmEnum {
    /**
     * 阻塞队列容量告警
     */
    CAPACITY_ALARM("capacityAlarm"),
    /**
     * 任务拒绝告警
     */
    REJECT_ALARM("rejectAlarm");

    AlarmEnum(String type) {
        this.type = type;
    }

    private final String type;

    public String type() {
        return this.type;
    }
}
